* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  background-image: linear-gradient(to bottom right, white, #fcfcfc);
}

.container {
  height: 383px;
  width: 100vw;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.penguin {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  animation: penguinbob .5s infinite alternate ease;
}

.head {
  background: #1a1a1a;
  height: 132px;
  width: 154px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  animation: headbob .5s infinite alternate ease;
}
.head .eye {
  background: #fcfcfc;
  height: 33px;
  width: 33px;
  border-radius: 50%;
  position: absolute;
  top: 30%;
}
.head .eye::after {
  content: '';
  height: 11px;
  width: 11px;
  border-radius: 50%;
  position: absolute;
  background: #1a1a1a;
  left: 50%;
  top: 10%;
  animation: look-around 1.5s infinite alternate ease-in-out;
}
.head .eye-l {
  left: 17%;
}
.head .eye-r {
  right: 17%;
}
.head .beak {
  background: #ffa617;
  height: 33px;
  width: 16.5px;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 50%, 0 0, 100% 0);
  border-radius: 5px;
}

.body {
  background: #1a1a1a;
  height: 198px;
  width: 187px;
  border-radius: 50%;
  position: relative;
  top: -40px;
  z-index: 0;
}
.body .belly {
  position: absolute;
  background: #fcfcfc;
  border-radius: 50%;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 121px;
  width: 110px;
}
.body .wing {
  height: 55px;
  width: 99px;
  border-top-left-radius: 99px;
  border-top-right-radius: 99px;
  background: #1a1a1a;
  top: 15%;
  position: absolute;
  z-index: -1;
}
.body .wing-l {
  left: -20%;
  animation: wingrotateleft .75s infinite alternate ease;
}
.body .wing-r {
  right: -20%;
  animation: wingrotateright .75s .5s infinite alternate ease;
}
.body .foot {
  background: #ffa617;
  height: 22px;
  width: 44px;
  border-radius: 50%;
  position: absolute;
  top: 85%;
}
.body .foot-l {
  left: 13%;
  animation: footbob .4s infinite alternate ease;
}
.body .foot-r {
  right: 13%;
  animation: footbob .4s .5s infinite alternate ease;
}

@keyframes penguinbob {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(1%);
  }
}
@keyframes headbob {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(4%);
  }
}
@keyframes footbob {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(-30%);
  }
}
@keyframes wingrotateleft {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-35deg);
  }
}
@keyframes wingrotateright {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(35deg);
  }
}
@keyframes look-around {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
.loading-container {
  z-index: 1;
  position: absolute;
  bottom: 0;
}
.loading-container .loading-text {
  font-family: monospace;
  font-size: 3rem;
  color: #1a1a1a;
  overflow: hidden;
  border-right: 0.15rem solid #ffa617;
  margin: 0 auto;
  letter-spacing: .10rem;
  animation: typing 2.5s steps(25, end) infinite, blink-caret 0.5s step-end infinite;
}

@keyframes typing {
  0% {
    width: 0%;
  }
  70% {
    width: 100%;
  }
}
@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: orange;
  }
}

body {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  background-image: linear-gradient(to bottom right, white, #fcfcfc);
}

.container1 {
  height: 383px;
  width: 100vw;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.penguin1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  animation: penguinbob .5s infinite alternate ease;
}

.head1 {
  background: #1a1a1a;
  height: 132px;
  width: 154px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  animation: headbob .5s infinite alternate ease;
}
.head1 .eye1 {
  background: #fcfcfc;
  height: 33px;
  width: 33px;
  border-radius: 50%;
  position: absolute;
  top: 30%;
}
.head1 .eye1::after {
  content: '';
  height: 11px;
  width: 11px;
  border-radius: 50%;
  position: absolute;
  background: #1a1a1a;
  left: 50%;
  top: 10%;
  animation: look-around 1.5s infinite alternate cubic-bezier(1, 0.01, 0, 0.99);
    animation-duration: 1.5s;
    animation-timing-function: cubic-bezier(1, 0.01, 0, 0.99);
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: look-around;
  }
.head1 .eye-l1 {
  left: 17%;
}
.head1 .eye-r1 {
  right: 17%;
}
.head1 .beak1 {
  background: #ffa617;
  height: 33px;
  width: 16.5px;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 50%, 0 0, 100% 0);
  border-radius: 5px;
}

.body1 {
  background: #1a1a1a;
  height: 198px;
  width: 187px;
  border-radius: 50%;
  position: relative;
  top: -40px;
  z-index: 0;
}
.body1 .belly1 {
  position: absolute;
  background: #fcfcfc;
  border-radius: 50%;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 121px;
  width: 110px;
}
.body1 .wing1 {
  height: 55px;
  width: 99px;
  border-top-left-radius: 99px;
  border-top-right-radius: 99px;
  background: #1a1a1a;
  top: 15%;
  position: absolute;
  z-index: -1;
}
.body1 .wing-l1 {
  left: -20%;
  animation: wingrotateleft .75s infinite alternate cubic-bezier(1, 0.01, 0, 1);
}
.body1 .wing-r1 {
  right: -20%;
  animation: wingrotateright .75s .5s infinite alternate cubic-bezier(0.99, 0, 0.01, 1);
}
.body1 .foot1 {
  background: #ffa617;
  height: 22px;
  width: 44px;
  border-radius: 50%;
  position: absolute;
  top: 85%;
}
.body1 .foot-l1 {
  left: 13%;
  animation: footbob .4s infinite alternate cubic-bezier(1, 0.02, 0.01, 0.98);
}
.body1 .foot-r1 {
  right: 13%;
  animation: footbob .4s .5s infinite alternate cubic-bezier(1, 0.01, 0, 0.99);
}

@keyframes penguinbob {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(1%);
  }
}
@keyframes headbob {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(4%);
  }
}
@keyframes footbob {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(-30%);
  }
}
@keyframes wingrotateleft {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-35deg);
  }
}
@keyframes wingrotateright {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(35deg);
  }
}
@keyframes look-around {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
.loading-container1 {
  z-index: 1;
  position: absolute;
  bottom: 0;
}
.loading-container1 .loading-text1 {
  font-family: monospace;
  font-size: 3rem;
  color: #1a1a1a;
  overflow: hidden;
  border-right: 0.15rem solid #ffa617;
  margin: 0 auto;
  letter-spacing: .10rem;
  animation: typing 2.5s steps(25, end) infinite, blink-caret 0.5s step-end infinite;
}

@keyframes typing {
  0% {
    width: 0%;
  }
  70% {
    width: 100%;
  }
}
@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: orange;
  }
}
  


:root {
  --duration: 2s;
  --black: #111111;
  --red: #6e4a4a;
  --color-el: var(--yellow);
  --color-bg: var(--green);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 90%;
}

body {
  -webkit-animation: swap-colors calc(var(--duration) * 2) steps(2, end) infinite;
          animation: swap-colors calc(var(--duration) * 2) steps(2, end) infinite;
  align-items: center;
  background-color: var(--color-bg);
  display: flex;
  justify-content: center;
}

.wrapper {
  -webkit-animation: push var(--duration) ease-out infinite;
          animation: push var(--duration) ease-out infinite;
  border: 2vmin solid var(--color-bg);
  max-width: 75vmin;
  overflow: hidden;
  padding: var(--pad);
  width: 100%;
}

.grid {
  -webkit-animation: grow var(--duration) ease-in-out infinite;
          animation: grow var(--duration) ease-in-out infinite;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-auto-rows: 1fr;
  width: 100%;
}

.item {
  -webkit-animation: shrink var(--duration) cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
          animation: shrink var(--duration) cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  background-color: var(--color-el);
}
.item:after {
  content: '';
  display: block;
  padding-bottom: 100%;
}

@-webkit-keyframes grow {
  0%, 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  60% {
    -webkit-transform: scale(10) rotate(100deg);
            transform: scale(10) rotate(100deg);
  }
  65% {
    -webkit-transform: scale(10) rotate(84deg);
            transform: scale(10) rotate(84deg);
  }
  70% {
    -webkit-transform: scale(10) rotate(92deg);
            transform: scale(10) rotate(92deg);
  }
  75% {
    -webkit-transform: scale(10) rotate(88deg);
            transform: scale(10) rotate(88deg);
  }
  80% {
    -webkit-transform: scale(10) rotate(90deg);
            transform: scale(10) rotate(90deg);
  }
  85%, 95% {
    -webkit-transform: scale(9) rotate(90deg);
            transform: scale(9) rotate(90deg);
  }
  100% {
    -webkit-transform: scale(20) rotate(90deg);
            transform: scale(20) rotate(90deg);
  }
}

@keyframes grow {
  0%, 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  60% {
    -webkit-transform: scale(10) rotate(100deg);
            transform: scale(10) rotate(100deg);
  }
  65% {
    -webkit-transform: scale(10) rotate(84deg);
            transform: scale(10) rotate(84deg);
  }
  70% {
    -webkit-transform: scale(10) rotate(92deg);
            transform: scale(10) rotate(92deg);
  }
  75% {
    -webkit-transform: scale(10) rotate(88deg);
            transform: scale(10) rotate(88deg);
  }
  80% {
    -webkit-transform: scale(10) rotate(90deg);
            transform: scale(10) rotate(90deg);
  }
  85%, 95% {
    -webkit-transform: scale(9) rotate(90deg);
            transform: scale(9) rotate(90deg);
  }
  100% {
    -webkit-transform: scale(20) rotate(90deg);
            transform: scale(20) rotate(90deg);
  }
}
@-webkit-keyframes shrink {
  0%, 5% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  20%, 80% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  95% {
    -webkit-transform: scale(0.45, 0.5) skew(5deg);
            transform: scale(0.45, 0.5) skew(5deg);
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
}
@keyframes shrink {
  0%, 5% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  20%, 80% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  95% {
    -webkit-transform: scale(0.45, 0.5) skew(5deg);
            transform: scale(0.45, 0.5) skew(5deg);
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
}
@-webkit-keyframes push {
  0% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  10% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes push {
  0% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  10% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes swap-colors {
  to {
    --color-el: var(--white);
    --color-bg: var(--black);
  }
}
@keyframes swap-colors {
  to {
    --color-el: var(--white);
    --color-bg: var(--black);
  }
}
:root {
  --duration: 2s;
  --black: #111111;
  --white: #FFFFFF;
  --color-el: var(--black);
  --color-bg: var(--white);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  -webkit-animation: swap-colors calc(var(--duration) * 4) steps(4, end) infinite;
          animation: swap-colors calc(var(--duration) * 4) steps(4, end) infinite;
  align-items: center;
  background-color: var(--color-bg
);
  display: flexvar(--color-bg)  justify-content: center;
}

.wrapper2 {
  -webkit-animation: push var(--duration) ease-out infinite;
          animation: push var(--duration) ease-out infinite;
  border: 2vmin solid #583897;
  max-width: 75vmin;
  overflow: hidden;
  padding: var(--pad);
  width: 100%;
}

.grid2 {
  -webkit-animation: grow var(--duration) ease-in-out infinite;
          animation: grow var(--duration) ease-in-out infinite;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-auto-rows: 1fr;
  width: 100%;
}

.item2 {
  -webkit-animation: shrink var(--duration) cubic-bezier(0.5, 1, 0.99, 2) infinite;
          animation: shrink var(--duration) cubic-bezier(0.5, 1, 0.99, 2) infinite;
  background-color: var(--color-el);
}
.item2:after {
  content: '';
  display: block;
  padding-bottom: 100%;
}

@-webkit-keyframes grow {
  0%, 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  60% {
    -webkit-transform: scale(10) rotate(100deg);
            transform: scale(10) rotate(100deg);
  }
  65% {
    -webkit-transform: scale(10) rotate(84deg);
            transform: scale(10) rotate(84deg);
  }
  70% {
    -webkit-transform: scale(10) rotate(92deg);
            transform: scale(10) rotate(92deg);
  }
  75% {
    -webkit-transform: scale(10) rotate(88deg);
            transform: scale(10) rotate(88deg);
  }
  80% {
    -webkit-transform: scale(10) rotate(90deg);
            transform: scale(10) rotate(90deg);
  }
  85%, 95% {
    -webkit-transform: scale(9) rotate(90deg);
            transform: scale(9) rotate(90deg);
  }
  100% {
    -webkit-transform: scale(20) rotate(90deg);
            transform: scale(20) rotate(90deg);
  }
}

@keyframes grow {
  0%, 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  60% {
    -webkit-transform: scale(10) rotate(100deg);
            transform: scale(10) rotate(100deg);
  }
  65% {
    -webkit-transform: scale(10) rotate(84deg);
            transform: scale(10) rotate(84deg);
  }
  70% {
    -webkit-transform: scale(10) rotate(92deg);
            transform: scale(10) rotate(92deg);
  }
  75% {
    -webkit-transform: scale(10) rotate(88deg);
            transform: scale(10) rotate(88deg);
  }
  80% {
    -webkit-transform: scale(10) rotate(90deg);
            transform: scale(10) rotate(90deg);
  }
  85%, 95% {
    -webkit-transform: scale(9) rotate(90deg);
            transform: scale(9) rotate(90deg);
  }
  100% {
    -webkit-transform: scale(20) rotate(90deg);
            transform: scale(20) rotate(90deg);
  }
}
@-webkit-keyframes shrink {
  0%, 5% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  20%, 80% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  95% {
    -webkit-transform: scale(0.45, 0.5) skew(5deg);
            transform: scale(0.45, 0.5) skew(5deg);
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
}
@keyframes shrink {
  0%, 5% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  20%, 80% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  95% {
    -webkit-transform: scale(0.45, 0.5) skew(5deg);
            transform: scale(0.45, 0.5) skew(5deg);
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
}
@-webkit-keyframes push {
  0% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  10% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes push {
  0% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  10% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes swap-colors {
  to {
    --color-el: var(--white);
    --color-bg: var(--black);
  }
}
@keyframes swap-colors {
  to {
    --color-el: var(--white);
    --color-bg: var(--black);
  }
}